﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Web.Mvc;

namespace Beeldbankmvc.Models
{
    public class LocationsModel
    {
        public double topLeftLatitude { get; set; }
        public double topLeftLongitude { get; set; }
        public double topRightLatitude { get; set; }
        public double topRightLongitude { get; set; }
        public string imageName { get; set; }
        public string areaName { get; set; }

        public DateTime FromDate { get; set; }
        public DateTime ToDate { get; set; }

        public List<int> locationList = new List<int>();
        public List<Location> locationListDraw = new List<Location>();
        public List<int> yearList = new List<int>();
    }

    public class AreaModel
    {
        public double topLeftLatitude { get; set; }
        public double topLeftLongitude { get; set; }
        public double topRightLatitude { get; set; }
        public double topRightLongitude { get; set; }
        public string areaName { get; set; }

        public List<LocationArea> areaList = new List<LocationArea>();
    }

    public class Location
    {
        public int x { get; set; }
        public int y { get; set; }
        public int Id { get; set; }
        public string Title { get; set; }
    }

    public class LocationArea
    {
        public int xTopLeft { get; set; }
        public int yTopLeft { get; set; }
        public int xBottomRight { get; set; }
        public int yBottomRight { get; set; }
        public int Id { get; set; }
        public string Title { get; set; }
    }

}